package com.vehicle.service;

import com.vehicle.domains.entity.SysUserEntity;
import com.vehicle.domains.info.UserInfo;
import com.vehicle.domains.bo.QueryUserBo;

import java.util.List;

public interface SysUserService {
    void addUser(SysUserEntity user);
    SysUserEntity selectByUsername(String  username);

    SysUserEntity selectByUserId(Long id);

    void updateUser(SysUserEntity updateSysUser);

    void deleteUser(Long id);

    List<SysUserEntity> selectUserList(QueryUserBo queryUserBo);

    UserInfo getUserRoleAndPermission(Long id);
}
